<?php
/**
 * Magento Enterprise Edition
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Magento Enterprise Edition End User License Agreement
 * that is bundled with this package in the file LICENSE_EE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.magento.com/license/enterprise-edition
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     rwd_enterprise
 * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
 * @license http://www.magento.com/license/enterprise-edition
 */
?>

<div class="page-title">
    <h1><?php echo Mage::helper('enterprise_giftregistry')->__('Create Gift Registry'); ?></h1>
</div>
<?php echo $this->getMessagesBlock()->toHtml() ?>
<form action="<?php echo $this->getAddActionUrl(); ?>" method="post" id="form-validate">
<div class="fieldset">
    <?php echo $this->getBlockHtml('formkey')?>
    <h2 class="legend"><?php echo $this->__('General Information') ?></h2>
    <p class="required"><?php echo $this->__('* Required Fields') ?></p>
    <ul class="form-list">
        <li>
            <label for="type_id"><?php echo $this->__('Gift Registry Type') ?></label>
            <div class="input-box">
                <select class="required-entry" name="type_id" id="type_id">
                        <option value=""><?php echo $this->__('Please select gift registry type') ?></option>
                    <?php foreach ($this->getTypeList() as $type):?>
                        <option value="<?php echo $type['value']?>"><?php echo $type['label'] ?></option>
                    <?php endforeach; ?>
                </select>
            </div>
        </li>
    </ul>
</div>
<div class="buttons-set form-buttons">
    <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
    <button type="submit" id="submit.next" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Next')) ?>" class="button"><span><span><?php echo $this->__('Next') ?></span></span></button>
</div>
</form>
<script type="text/javascript">
//<![CDATA[
    var dataForm = new VarienForm('form-validate');
//]]>
</script>
